﻿using Bulb.Core.Services.CollectionService;
using Cirrious.MvvmCross.Plugins.Messenger;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;

namespace Bulb.Test.CollectionServiceTest
{
    [TestClass]
    public class CollectionServiceTests
        : RepositoryTests.RepositoryTests
    {
        public readonly IMvxMessenger MockMessenger;
        public readonly ICollectionService MockCollectionService;

        public CollectionServiceTests()
        {
            var mockMessenger = new Mock<IMvxMessenger>();
            MockMessenger = mockMessenger.Object;

            MockBulbItemRepository = MockCollectionService = new CollectionService(MockBulbItemRepository, MockMessenger);
        }
    }
}
